package dao;

import bean.dto.VehicleChangeData;
import bean.pojo.Vehicle;

import java.util.List;

/**
 * dao
 * User: 坚持
 * Date: 2024/12/18 11:30
 * motto: 树欲静而风不止
 * Description:
 * Version: V1.0
 */
public interface VehicleDao {


    Long findByTotal( String vehicleLicensePlate, String ownerName,String vehicleType);

    Integer updateVehicle(VehicleChangeData vehicleChangeData);

    Integer deleteById(Integer vehicleId);

    Integer add(Vehicle vehicle);

    List<VehicleChangeData> findBy(Integer page, Integer limit , String vehicleLicensePlate, String ownerName,String vehicleType);
}
